@charset "utf-8";

/* banner轮播*/

.flexslider {
    margin: 0px auto;
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.flexslider .slides li {
    width: 100%;
    height: 100%;
}

.flexslider .slides li img {
    width: 100%;
    height: 448px;
    display: block;
}

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 10px;
    text-align: center;
}

.flex-control-nav li {
    margin: 0 2px;
    display: inline-block;
    background-color: rgba(255, 255, 255, .5);
    border-radius: 50%;
    text-indent: -99em;
    width: 10px;
    height: 10px;
    cursor: pointer;
}

.flex-control-nav li.active {
    background-color: #fff;
}


/* 首页标题*/

.index-title {
    border-bottom: 1px solid #ccc;
    padding: 0 0 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.index-title h2 {
    font-size: 22px;
    font-weight: 600;
    display: inline-block;
}

.index-title span.targ {
    font-size: 14px;
    padding-left: 20px;
}

.index-title span.kont {
    color: #999;
}


/* 主体内容*/

.index-content .box {}

.index-content ul {
    width: 100%;
}

.index-content ul li {
    width: 25%;
    float: left;
    text-align: center;
    margin-bottom: 40px;
}

.index-content ul li a {
    width: 250px;
    display: inline-block;
}

.index-content ul li a:hover {
    box-shadow: 0 3px 11.64px 0.36px rgba(0, 0, 0, 0.18);
}

.index-content ul li h3 {
    font-size: 16px;
    line-height: 22px;
    padding: 10px;
    text-align: left;
}

.index-content ul li p.sub-tit {
    font-size: 14px;
    line-height: 20px;
    margin: 0 10px;
}

.index-content ul li .other {
    padding: 0 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.index-content ul li .other strong {
    color: #f42f2f;
    font-size: 20px;
}

.index-content ul li .other em {
    font-size: 14px;
    font-style: normal;
}

.index-content ul li .other span {
    color: #999;
    text-decoration: line-through;
    margin-left: 12px;
}

.index-content ul li .other button {
    background-color: #f42f2f;
    border: 0 none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

.index-content ul li img {
    width: 250px;
    height: 250px;
}

.index-content ul li:hover img,
.index-content .box-middle ul li img:hover {
    opacity: .75;
}


/* 热门品牌*/

.index-brand {
    display: flex;
    width: 100%;
}

.index-brand li {
    display: inline-block;
    flex: 1;
    text-align: center;
    border: 1px solid #eaeaea;
    border-top: 0 none;
    border-right: 0 none;
    padding-bottom: 20px;
    float: left;
    border: 0 none \9;
    *border: 0 none;
    _border: 0 none;
}

.index-brand li:last-child {
    border-right: 1px solid #eaeaea;
}

.index-brand .brand-pic {
    position: relative;
    margin-bottom: 45px;
}

.index-brand img.brand-logo {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 260px;
    left: 50%;
    margin-left: -40px;
}

.index-brand h3 {
    font-weight: bold;
}


/* 最新热卖*/

.prolist li {
    margin: 5px 0 14px;
    border-bottom: 1px dotted #eaeaea;
}

.prolist li img {
    float: left;
    width: 75px;
    height: 75px;
    margin: 0 10px 0 0;
}

.prolist .proinfo h3 {
    font-weight: normal;
    font-size: 12px;
    height: 36px;
    overflow: hidden;
    line-height: 18px;
}

.prolist .proinfo .num {
    padding: 5px 0 14px;
    margin: 5px 0 14px;
}

.prolist .proinfo .num .price {
    font-size: 14px;
    color: #f42f2f;
}

.prolist .proinfo .num .comment {
    float: right;
}

.prolist .proinfo .num .comment i {
    color: #ccc;
    margin-right: 3px;
}


/* 健康知识百科*/

.encyclopedia {
    border: 1px solid #eaeaea;
    min-height: 252px;
    padding: 10px 0;
}

.encyclopedia dl {
    padding: 10px 1.6%;
    width: 30%;
    float: left;
}

.encyclopedia dl dt {
    margin-bottom: 5px;
}

.encyclopedia dl dt i {
    padding-left: 5px;
}

.encyclopedia dl dd a {
    color: #666;
    font-size: 12px;
    line-height: 22px;
}

.encyclopedia dl dd em {
    color: #ccc;
    padding: 0 8px;
}


/* 友情链接*/

.blogroll .layui-tab-content a {
    font-size: 12px;
}


/* 悬浮微信公众号导流*/

.fixed-wxchat {
    position: fixed;
    width: 100%;
    height: 143px;
    z-index: 1000;
    bottom: 0;
    left: 0;
}

.fixed-wxchat .fixed-con {
    position: relative;
}

.fixed-wxchat .panel {
    background: black;
    opacity: 0.6;
    filter: alpha(opacity=60);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 143px;
    z-index: -1;
}

.fixed-wxchat .fixed-wxchat-con {
    background: url('https://www.ziyimall.com/file_img/products/img/wx-index.gif') no-repeat;
    background-size: 100%;
    width: 1200px;
    height: 143px;
    margin: 0 auto;
    text-align: right;
}

.fixed-wxchat .img-ewm {
    width: 125px;
    height: 125px;
    padding: 9px 251px 0 0;
}

.fixed-wxchat .icon-close img {
    position: absolute;
    top: 5px;
    right: 0;
    cursor: pointer;
}

.hide {
    display: none !important;
}